package com.cn.springcloudwechat.model.find.communication;

import com.cn.springcloudwechat.model.attachment.YmAttachment;

import java.util.Date;
import java.util.List;

public class YmExchangeVO {
    /**
     * 流水ID
     */
    private Long exchangeId;

    /**
     * 发表用户
     */
    private Long userId;
    /**
     *创建时间
     */
    private Date createTime;

    /**
     * 更新时间
     */
    private Date updateTime;

    /**
     * 状态（0无效 1有效）
     */
    private Short state;

    /**
     * 交流发表类容
     */
    private String ecchangeMessage;

    /**
     * 类型排序 0官方 1热门 2推荐 3普通
     */
    private Long typeOrder;

    private String createTimeString;

    /**
     * 用来存id查到的昵称
     */
    private String userName;

    /**
     * 地址
     */
    public String address;

    /**
     * 用户头像
     */
    public String headimgurl;

    /**
     * 标题
     */
    private String title;

    private List<YmAnswerVO> ymAnswerVOS;

    private Integer praise;

    private int answersCount;

    private List<YmAttachment> ymAttachments;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public List<YmAnswerVO> getYmAnswerVOS() {
        return ymAnswerVOS;
    }

    public void setYmAnswerVOS(List<YmAnswerVO> ymAnswerVOS) {
        this.ymAnswerVOS = ymAnswerVOS;
    }

    public Integer getPraise() {
        return praise;
    }

    public void setPraise(Integer praise) {
        this.praise = praise;
    }

    public int getAnswersCount() {
        return answersCount;
    }

    public void setAnswersCount(int answersCount) {
        this.answersCount = answersCount;
    }

    public List<YmAttachment> getYmAttachments() {
        return ymAttachments;
    }

    public void setYmAttachments(List<YmAttachment> ymAttachments) {
        this.ymAttachments = ymAttachments;
    }

    public String getCreateTimeString() {
        return createTimeString;
    }

    public void setCreateTimeString(String createTimeString) {
        this.createTimeString = createTimeString;
    }

    public String getHeadimgurl() {
        return headimgurl;
    }

    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Long getTypeOrder() {
        return typeOrder;
    }

    public void setTypeOrder(Long typeOrder) {
        this.typeOrder = typeOrder;
    }

    public Long getExchangeId() {
        return exchangeId;
    }

    public void setExchangeId(Long exchangeId) {
        this.exchangeId = exchangeId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Short getState() {
        return state;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public String getEcchangeMessage() {
        return ecchangeMessage;
    }

    public void setEcchangeMessage(String ecchangeMessage) {
        this.ecchangeMessage = ecchangeMessage == null ? null : ecchangeMessage.trim();
    }
}